//
//  LYTestListCell.m
//  artist
//
//  Created by Jay_Apple on 16/5/19.
//  Copyright © 2016年 viviyoo. All rights reserved.
//

#import "LYTestListCell.h"
#import "LYVideoModel.h"

@interface LYTestListCell ()

@property (weak, nonatomic) IBOutlet UILabel *name;

@property (weak, nonatomic) IBOutlet UILabel *content;
@property (weak, nonatomic) IBOutlet UILabel *num;

@end

@implementation LYTestListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}


- (void)setModel:(LYTestListModel *)model{

    _model = model;
    
    self.name.text = _model.title;
    self.content.text = [NSString stringWithFormat:@"共有%zd道题",_model.problem_num];
    self.num.text = [NSString stringWithFormat:@"%zd人参与",_model.test_num];
}

@end
